﻿#pragma once

#include <windows.h>

class KeyboardHandler {
public:
  KeyboardHandler();
  ~KeyboardHandler();
  BOOL InstallHook();
  void RunMessageLoop(HANDLE hStopEvent);

private:
  HHOOK hKeyboardHook;
  static LRESULT CALLBACK KeyboardProc(int nCode, WPARAM wParam, LPARAM lParam);
  static void SimulateWinH();
};
